<!DOCTYPE html>
<html lang="<?php echo ($lang_url==''? 'es': substr($lang_url, 0, 2)); ?>">
<head>
  <meta charset="utf-8" />

  <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame 
       Remove this if you use the .htaccess -->
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />

  <title>sin plugin</title>

  <meta name="robots" content="noindex" />
  <meta name="viewport" content="width=device-width; initial-scale=1.0" />
  <style media="screen" type="text/css">
  	body {
		font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
		margin: 0;
		padding: 0;
	}
  	.absoluto{
  		text-align: center;
  	}
  	.absoluto h2{
		margin: 0 0 80px 0;
		color: #F0F0F0;
		text-align: center;
		border-bottom: 1px #DFDFDF solid;	
	}
  </style>
</head>

<body>
	<div class="absoluto">
		<h2><?php echo lang('v_select_sourse'); ?></h2>
	<?php //Nombres de los servidores
	if(isset($film['sources'])){
		if(is_array($film['sources'])){
			$download = $url_s = '';
			foreach($film['sources'] as $keys => $source){
				if($source['online'] == 1){
					if($source['name'] == 'Glumbo uploads')
						$url_s = 'javascript:parent.mplayer.loadPlayer(\''.$source['origen'].'\');';
					else
						$url_s = $source['origen'].(strpos($source['origen'], '?')===FALSE? '?': '&').'maniaco=1&video='.$video.(isset($t)? '&t='.$t: '');
					echo '<a href="'.$url_s.'" class="servers" title="'.lang('v_download').' '.$source['name'].'" rel="nofollow">
						<img src="'.$source[(isset($t)? 'url_img': 'image')].'" width="150" height="150" alt="'.lang('v_download').' '.$source['name'].'" /></a>';
				}
			}
		}
	}else{
		echo '<strong style="color:#E74B39; font-size: 1.1em;">'.lang('v_not_sourse').'</strong>';
	}
	?>
	<div>
</body>
</html>
